package com.guaigen.campus.common.exception;

public enum BusinessExceptionEnum {
    MEMBER_MOBILE_EXIST("手机号已被注册!"),
    MEMBER_MOBILE_NOT_EXIST("手机号未被注册!"),
    MEMBER_MOBILE_CODE_ERROR("短信验证码错误!"),

    CAPTCHA_ERROR("图形验证码错误！"),
    USERNAME_OR_PASSWORD_ERROR("用户名或密码错误！");

    private String desc;

    BusinessExceptionEnum(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "BusinessExpectionEnum{" +
                "desc='" + desc + '\'' +
                '}';
    }
}
